<?php
if(!defined('GbIncl')){ ?>
<meta http-equiv="refresh" content="0;url=block.php" />
<?php }else{ ?>
<div class="section">
	<div class="post-title">
   		<div class="section-title">Agenda Kegiatan P2AI</div>
	</div>
    <?php 
    $AGENDAP2AI= mysql_query("SELECT * FROM P2AI_AGENDA_KEGIATAN_SPM ORDER BY ID_PAKS ASC");
    while ($DATAAGENDAP2AI=mysql_fetch_array($AGENDAP2AI)) 
    {?>
    <div class="post">
    	<div class="archive-post-date">
    	    <div class="archive-post-month"><?php echo substr($DATAAGENDAP2AI['TANGGAL_PAKS'],0,2); ?> <?php echo substr($DATAAGENDAP2AI['TANGGAL_PAKS'],3,3); ?> <?php echo substr($DATAAGENDAP2AI['TANGGAL_PAKS'],7,4); ?></div>
            <a href="../spm-itats/content.php?p=500"><b title="P2AI">P2AI</b></a>
    	</div>
    	<div class="archive-post-title">
        <h3><a href="#"><?php echo "$DATAAGENDAP2AI[JUDUL_PAKS]"?></a></h3>
        <div class="post-date"><?php echo "$DATAAGENDAP2AI[NAMA_PAKS]"?></div>
    	</div>
	</div>
	<div class="archive-separator"></div>
	<?php }?>
</div>
<?php } ?>